<script>
	class Test {
		0 = $state();

		constructor() {
			this[1] = $state();
		}
	}
</script>